/* ===== Container ===== */
.orders-container {
  width: 100%;
  max-width: 370px;
  margin: 8px auto;
  padding: 6px;
  background-color: var(--light2);
  border-radius: 10px;
  height: calc(100% - 16px);
  overflow: auto;
}

/* ===== Title ===== */
.page-title {
  font-size: 14px;
  color: var(--dark1);
  margin: 6px 0 10px;
  text-align: center;
  /* font-weight: 600; */
}

/* ===== Table Wrapper ===== */
.orders-table-wrapper {
  overflow-x: auto;
  background-color: var(--light1);
  border-radius: 10px;
}

/* ===== Table ===== */
.orders-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px; /* space between rows */
  font-size: 12px;
}

/* ===== Header ===== */
.orders-table thead th {
  background-color: var(--light3);
  color: var(--primaryDark);
  padding: 8px 6px;
  font-size: 12px;
  z-index: 2;
  font-weight: normal;
}

/* ===== Cells ===== */
.orders-table td {
  padding: 8px 6px;
  text-align: center;
  background-color: var(--light1);
}

/* ===== Row Card Effect ===== */
.orders-table tbody tr {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

/* rounded corners for row */
.orders-table tbody tr td:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.orders-table tbody tr td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* ===== Hover (optional mobile tap feedback) ===== */
.orders-table tbody tr:active {
  background-color: var(--light3);
}

/* ===== Order ID ===== */
.order-id-hash {
  color: var(--primary);
  font-size: 11px;
  font-weight: bold;
}

/* ===== Status ===== */
.status {
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 11px;
  display: inline-block;
  font-weight: 600;
}

/* softer modern badges */
.status.pending {
  background-color: rgba(255, 193, 7, 0.15);
  color: #b88900;
}

.status.delivered {
  background-color: rgba(40, 167, 69, 0.15);
  color: var(--accentGreen);
}

.status.cancelled {
  background-color: rgba(220, 53, 69, 0.12);
  color: var(--errorColor);
}
